<extend name="Base/common"/>
<block name="title"><title>{$info.title} - {:C('WEB_SITE_TITLE')}</title></block>
<block name="content">
    <div class="gcwrap container">
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
                <div class="title-content" align="left">
                    <h2>{$info.title}</h2>
                    <p>
                        <a href="#"><span class="author">{$info.uid|get_nickname}</span></a>
                        <span> 发表于 {$info.create_time|date='Y-m-d H:i',###}</span>
                    </p>
                    <hr/>
                </div>
                <div class="main-content">
                    <!-- Contents
                    ================================================== -->
                    <section id="contents">{$info.content}</section>
                    <hr/>
                    {:hook('documentDetailAfter',$info)}
                    <section id="contents">
                        <a href="{:U('File/download?id='.$info['id'])}" class="btn btn-primary">立即下载</a>
                        下载次数：{$info.download}
                    </section>
                </div>
                <!-- <div class="f_article">
                    <div class="ad-long">
                        <span>广告位</span>
                    </div>
                </div> -->
            </div>
            <div class="col-xs-12 col-xs-12 col-md-4 col-lg-4">
                <div class="author_side">
                    <div class="author-pic">
                        <a href="#">
                            <img src="__ROOT__{$info.uid|get_user_icon='path'}" onerror="this.src='__IMG__/logo_img.jpg'" alt="{$info.uid|get_username}">                       
                        </a>
                        <a href="#" class="icon_bed">
                            <em title="浆果铺官方认证用户" class="V_icon icon_vip" suda-uatrack="key=profile_head&amp;value=vuser_guest"></em></a>
                    </div>
                    <div class="author-wrap">
                        <div>
                            <a href="#" class="author" id="authorName">{$info.uid|get_nickname}</a> 
                        </div>
                        <div>悦享 · 品质</div>
                    </div>
                </div>  
                <div class="righttl"><h3>作者作品推荐</h3></div>
                <div class="sider_box">
                    <volist name="authorlist" id="author_article" key="key">
                        <ul class="tc_l">
                            <if condition="$key lt 4 ">
                                <li class="top3">
                                    <em>{$key}</em>
                                    <a href="{:U('Article/detail?id='.$author_article['id'])}" title="{$author_article.title}">{$author_article.title}</a>
                                </li>
                            <else />
                                <li>
                                    <em>{$key}</em>
                                    <a href="{:U('Article/detail?id='.$author_article['id'])}" title="{$author_article.title}">{$author_article.title}</a>
                                </li>
                            </if>
                        </ul>
                    </volist>
                </div> 
                <!-- <div class="ad">
                    <span>广告位</span>
                </div>
                <div class="ad">
                    <span>广告位</span>
                </div> -->
            </div>
        </div>
    </div>
</block>